package com.adms.domain;

import com.adms.domain.SiteHandleUser;
import com.adms.domain.SiteHandleUserExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SiteHandleUserMapper {
	
//	
	void deleteBySiteId(Integer siteId);
	List<Integer> selectSiteIdsByHandleUserId(Integer handleUserId);
	void insertBatch(List<SiteHandleUser> siteHandleUsers);
	void updateBatch(@Param("siteId") Integer siteId,@Param("siteHandleUsers") List<SiteHandleUser> siteHandleUsers);
//
	
    long countByExample(SiteHandleUserExample example);

    int deleteByExample(SiteHandleUserExample example);

    int deleteByPrimaryKey(@Param("siteId") Integer siteId, @Param("handleUserId") Integer handleUserId);

    int insert(SiteHandleUser record);

    int insertSelective(SiteHandleUser record);

    List<SiteHandleUser> selectByExample(SiteHandleUserExample example);

    SiteHandleUser selectByPrimaryKey(@Param("siteId") Integer siteId, @Param("handleUserId") Integer handleUserId);

    int updateByExampleSelective(@Param("record") SiteHandleUser record, @Param("example") SiteHandleUserExample example);

    int updateByExample(@Param("record") SiteHandleUser record, @Param("example") SiteHandleUserExample example);

    int updateByPrimaryKeySelective(SiteHandleUser record);

    int updateByPrimaryKey(SiteHandleUser record);

}